package com.one_3.service;

/**
 * @author SunChangSheng
 * @apiNote
 * @since 2021/12/14 17:57
 */
public interface PayFactory {
    /**
     * 授权
     * @param account   账号
     * @param appId     id
     * @param secretKey 密钥
     * @return
     */
    boolean auth(String account, String appId, String secretKey);

    /**
     * 支付
     * @param account 账号
     * @return
     */
    boolean pay(String account);
}
